using System;
using System.Collections.Generic;
using System.Text;

namespace StockTrader.BusinessService.DataContract.Structure
{
    public sealed class ConfirmDealData
    {
        private DateTime mTransDate;
        public System.DateTime TransDate
        {
            get { return mTransDate; }
            set { mTransDate = value; }
        }
        private string mTimeStamp;
        public string TimeStamp
        {
            get { return mTimeStamp; }
            set { mTimeStamp = value; }
        }

        private string mOrderNumber;
        public string OrderNumber
        {
            get { return mOrderNumber; }
            set { mOrderNumber = value; }
        }

        private string mSide;
        public string Side
        {
            get { return mSide; }
            set { mSide = value; }
        }

        private long mVolume;
        public long MatchedVolume
        {
            get { return mVolume; }
            set { mVolume = value; }
        }

        private decimal mPrice;
        public decimal MatchedPrice
        {
            get { return mPrice; }
            set { mPrice = value; }
        }

        private string mConfirmNumber;
        public string ConfirmNumber
        {
            get { return mConfirmNumber; }
            set { mConfirmNumber = value; }
        }

        private string mCouterAccount;
        public string CouterAccount
        {
            get { return mCouterAccount; }
            set { mCouterAccount = value; }
        }

        public ConfirmDealData()
        {

        }
        public ConfirmDealData(string timestamp, string ordernum, string side, long vol, decimal price, string confirmno, string cacc)
        {
            this.mTimeStamp = timestamp;
            this.mOrderNumber = ordernum;
            this.mSide = side;
            this.mVolume = vol;
            this.mPrice = price;
            this.mConfirmNumber = confirmno;
            this.mCouterAccount = cacc;
        }

        public ConfirmDealData(DateTime trandate, string timestamp, string ordernum, string side, long vol, decimal price, string confirmno, string cacc)
        {
            this.mTransDate = trandate;
            this.mTimeStamp = timestamp;
            this.mOrderNumber = ordernum;
            this.mSide = side;
            this.mVolume = vol;
            this.mPrice = price;
            this.mConfirmNumber = confirmno;
            this.mCouterAccount = cacc;
        }
    }

}
